package com.java0107;

import java.util.HashMap;
import java.util.Map;

public class HashMap03 {
    public static void main(String[] args) {
        Map<Integer,String> m = new HashMap<>();

        m.put(1,"x");
        m.put(2,"y");
        m.put(3,"m");

        m.forEach((k,v)->{
            System.out.println(k+"\t"+v);
        });
    }
}
